net/http.http2ClientConn.streams (field)
20 uses
net/http (current package)
h2_bundle.go#L7402: streams map[uint32]*http2clientStream // client-initiated
h2_bundle.go#L7833: streams: make(map[uint32]*http2clientStream),
h2_bundle.go#L7948: for streamID, cs := range cc.streams {
h2_bundle.go#L8026: StreamsActive: len(cc.streams),
h2_bundle.go#L8058: maxConcurrentOkay = int64(len(cc.streams)+cc.streamsReserved+1) <= int64(cc.maxConcurrentStreams)
h2_bundle.go#L8113: if len(cc.streams) > 0 || cc.streamsReserved > 0 {
h2_bundle.go#L8131: return cc.doNotReuse && len(cc.streams) == 0
h2_bundle.go#L8148: if len(cc.streams) == 0 || cc.closed {
h2_bundle.go#L8203: for _, cs := range cc.streams {
h2_bundle.go#L8693: if int64(len(cc.streams)) < int64(cc.maxConcurrentStreams) {
h2_bundle.go#L9190: cc.streams[cs.ID] = cs
h2_bundle.go#L9198: slen := len(cc.streams)
h2_bundle.go#L9199: delete(cc.streams, id)
h2_bundle.go#L9200: if len(cc.streams) != slen-1 {
h2_bundle.go#L9204: if len(cc.streams) == 0 && cc.idleTimer != nil {
h2_bundle.go#L9213: if closeOnIdle && cc.streamsReserved == 0 && len(cc.streams) == 0 {
h2_bundle.go#L9289: for _, cs := range cc.streams {
h2_bundle.go#L9847: cs := rl.cc.streams[id]
h2_bundle.go#L9931: for _, cs := range cc.streams {
h2_bundle.go#L10233: ci.WasIdle = len(cc.streams) == 0 && reused
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |